<template>
  <KuRootView />
  <wd-message-box selector="global-message-box"> </wd-message-box>
  <!-- <button @click="onClick">ku-root</button> -->
</template>

<script setup>
import { useMessage } from 'wot-design-uni'
const message = useMessage('global-message-box')
// function onClick() {
//   message.alert('操作成功')
// }
uni.$globalMessage = message
</script>
<style lang="scss" scoped>
:deep(.wd-overlay) {
  z-index: 1000 !important;
}
:deep(.wd-popup) {
  z-index: 1000 !important;
}
</style>
